Computer Programming for Complete Beginners: A Quick Course for Mastering the Basics of Coding through Interactive Steps and Visual Examples by Ikram Hawramani

Computer Programming for Complete Beginners: A Quick Course for Mastering the Basics of Coding through Interactive Steps and Visual Examples by Ikram Hawramani

Author:Ikram Hawramani [Hawramani, Ikram]
Language: eng
Format: mobi
Publisher: Hawramani.com
Published: 2018-10-11T16:00:00+00:00


In the earlier, not-so-good example where the show_new_salary() function wasn’t taking inputs, if we had changed the names of the variables on lines 2 or 3, we would have also had to change the show_new_salary() function. But now that the function operates according to inputs, it does not care about the variable names outside of it. It operates in a separate universe of its own; it has become a machine that takes something and spits something out.

As it should be clear by now, the variable names inside the function are unrelated to those outside. Below we rename salary to pay inside the function:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.